package com.ricky.game;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Utils {

	public static Map<String,Object> changeListToArray(List list)
	{
		Map<String,Object> li = new HashMap<String,Object>();
		int i=0;
		for(Object value:list)
		{
			li.put(i+"", value);
			i++;
		}
		
		return li;
	}
}
